import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '客户姓名',
    align: "center",
    dataIndex: 'customerName'
  },
  {
    title: '合同主题',
    align: "center",
    dataIndex: 'contractTheme'
  },

  {
    title: '业务完成人姓名',
    align: "center",
    dataIndex: 'realName'
  },
  {
    title: '业务类型',
    align: "center",
    dataIndex: 'bussinessType'
  },
  {
    title: '提成费用',
    align: "center",
    dataIndex: 'royalties'
  },
];

// 高级查询数据
export const superQuerySchema = {

  customerName: {title: '客户姓名',order: 1,view: 'text', type: 'string',},

  contractTheme: {title: '合同主题',order: 3,view: 'text', type: 'string',},


  realName: {title: '业务完成人姓名',order: 6,view: 'text', type: 'string',},
  bussinessType: {title: '业务类型',order: 7,view: 'text', type: 'string',},
  royalties: {title: '提成费用',order: 8,view: 'number', type: 'number',},
};
